package com.hl.card.modular.pack.dao;

import com.hl.card.modular.pack.model.DisMemberInfoModel;

import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
  * 合伙人Mapper 接口
 * </p>
 *
 * @author 袁伟
 * @since 2018-05-08
 */
@Component("disMemberInfoYMapper")
public interface DisMemberInfoMapper{
	
	
	public int updateMemberInfo(DisMemberInfoModel disMemberInfo);

	public int addMemberInfo(DisMemberInfoModel disMemberInfo);

	public List<DisMemberInfoModel> queryDisMemberInfoByParentId(Map<String, Object> map);

	public  int queryDisMemberInfoByParentIdCount(String parent_id);

	public List<DisMemberInfoModel> queryUserInfoByParentId(Map<String, Object> map);
	
	public  int queryUserInfoByParentIdCount(String parent_id);
	
	
	public DisMemberInfoModel queryDisMemberInfoById(String user_id);

	int updateDisPayPasswordById(DisMemberInfoModel dmi);
	
	public int queryDisMemberInfoCode(String code);
	
	public Integer queryRobNum(String user_id);
	
	public void updateMemberNum(DisMemberInfoModel dmi);
	
	public void updateShopMemberNum(DisMemberInfoModel dmi);
	
	public void updateCellMemberNum(DisMemberInfoModel dmi);
	
	public void updateWhiteMemberNum(DisMemberInfoModel dmi);
	
	public void updateStarMemberNum(DisMemberInfoModel dmi);
	
	public DisMemberInfoModel queryDisMemberInfoByPhone(String phone);
	
	public List<Map<String,Object>>  queryMermberNum(Map<String,Object> map);
	
	public Map<String,Object>  queryMermberNumTotal(String user_id);
	


}








